# DPlngScan

### History

The last rtelease of DPScan by David Pilling was version 1.26 (17 Apr 2016). Since that release, any changes to DPScan have been made by Chris Johnson. This page details the main changes made since the 1.26 version release. A number of internal changes are not listed.

### Changes in version 1.32 (11 Dec 2020)

- Added popup menu to Select area info palette to insert previously saved values in to the aspect ratio writables for width and height. Added a button (Add) to add values of aspect ratio to the popup menu.
- Now autoscales image when dragged in to an already open window
- When auto-zooming ensure there is sufficient extra area in window to accommodate the tool pane and info palette without permanently hiding part of the image

### Changes in version 1.31 (12 Oct 2020)

- Added code to autoscale image on first load
- Added config options to control autoscale
- Added code to auto set page size on first load
- Added config options to control page setup
- Added code to assert minimum size of window when auto-scaling
- Added code to check file headers for png, gif, bmp and jpeg on load (png crashed horribly if it wasn't actually a valid png file)

### Changes in version 1.30 (7 Jun 2020)

- Changes to various memory management functions to allow operation on hardware with 4GB of RAM, all of which is now accessible to RISC OS, such as the 4GB RaPi4
- Exif metadata in jpeg images (if present) can now be analysed. The analysis occurs if a jpeg file is dragged to the iconbar icon with Control held down (simple output) or Control+Shift held down (Verbose output)
- Added option to Sprite configure dbox to add spr file extension
- Added option to Draw configure dbox to add file extension. Dbox also contains option to set extension to either drw or aff
- Changes to Scale dialogue to shade/unshade icons depending on which action is selected, and whether 'lock aspect ratio' is selected. Two new option buttons added to make operation clearer

### Changes in version 1.29 (26 Dec 2019)

- Histogram levels setting can now be set and saved in Choices
- The Select area tool now allows a fixed aspect ratio to be set, so that drags are constrained to maintain the set aspect ratio
- The previous values of the 'Resize to' width and height are retained when the Edit-Scale dialogue is reopened
- Added option to automatically append correct filetype extension to the filename when exporting images
- Several of the dialogues have been modified to respond to tab and Shift-tab key for movement between fields
- Zoom to screen now takes account of window furniture
- The Select area tool sometimes forgot the area settings when moving between tools - fixed
- Save action (from file menu) now split into two parts

- Save which always refers to original file and file type
- Save as which allows filetype to be changed and file saved in a different location. This option has essentially the same functionality as the earlier save option

- Added option to auto-add file extension to filename when changing filetype
- Added option to auto-add drw and spr filetype extension (useful when inter-operating with e.g. OPro for Windows)

### Changes in version 1.28 (10 Jun 2017)

- Fix: Incorrect interconversion of dpcm to dpi in jpeg image load

### Changes in version 1.27 (21 Nov 2016)

- Now loads 16 and 32 bpp sprite files produced on the latest hardware (IGEPv5 and Titanium) having the order of colours reversed (RGB rather than BGR). It will also load 16-bpp 64K and 4K sprites. The only slight gotcha is that 64K sprites will be down-sampled to 16-bit 32K colours on loading.

  If saving as sprite on any hardware, the sprite will be saved always in the RISC OS 3.5 sprite format, allowing compatibility with all hardware.

- The available page sizes have been increased to allow e.g. DSLR images of more than 10 Mpx to be viewed at full rational scale. The new page sizes are 2A0 and 4A0
- The EOR colour used to display the selected area rectangle can now be changed to aid visibilty on certain images. The view must have the input focus. The function key F2 will cycle through the range of colours. If you wish to return quickly to the default Red EOR colour, use Shift-F2
- Now saves the application choices in Boot:Choices rather than within the application as previously. This has consequences. Default configuration settings are supplied within the application. It is recommended that before attempting to view large images you go to iconbar menu - choices - memory and increase the amount of 'real' memory (Max RAM) DPlngScan is allowed to use. The default setting should be enough to view images of say 800x600 in 16M colours without using virtual memory i.e. the hard drive, but use of virtual memory will result in a significant slowdown in display and scrolling. On modern hardware with large amounts of memory, a max RAM setting of 256 MB or more can be used to allow megapixel images to be viewed. Check also that the temporary file location (used by virtual memory) exists and is correct. The default is
- Info window (icon bar icon menu > Info) now has a 'web' button to go to the download site
- Now comes with a help manual accessed from icon bar icon menu > Help. This manual is based on the original printed manual

Contact | Index | Licence

DPlngScan is © David Pilling, 1993
Email:chris@chris-johnson.org.uk